If given a visual of a graph, use a ruler or straight edge to create a horizontal line. Slide the line up and down the graph. If the straight edge only touches one point at a time, the function is one-to-one
(Left: one-to-one, Right: onto)